package com.weixing.mall.provider.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;

/**
 * 购物车状态
 *
 * @Author kfc
 * @Date 2019/8/8 15:05
 * @Version 1.0
 */

@NoArgsConstructor
public enum CartStatusEnum implements IBaseEnum<Integer> {
    NOT_SELECTED(1, "未选中"),
    SELECTED(2, "已选中"),
    PURCHASED(3, "已购买")
    ;


    private int value;
    private String desp;

    CartStatusEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
